package com.joolun.script.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.joolun.script.dto.CommentExt;
import com.joolun.script.entity.Comment;

import java.util.List;

/**
 * 留言内容
 *
 * @author 臣服
 * @date 2022-01-12 10:51:45
 */
public interface CommentService extends IService<Comment> {

    List<Comment> queryByParentId(String scriptId, String commentId);

    Page<Comment> getPage(Page<Comment> page, Comment comment);

    List<CommentExt> queryLastByParentId(String scriptId, List<String> commentIdList, Integer lastNumber);
}
